/* pages/index/index.wxss */
@base_color: #c80212;

.banner {
    height: 750rpx;
    position: relative;
}

swiper {
    height: 100%;
}

.swiper-item {
    display: block;
    height: 100%;
}

.swiper-item .img {
    width: 750rpx;
    height: 100%;
}

/* banner end */

/* category */
.category {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200rpx;
    background: rgba(0, 0, 0, .6);
    display: flex;
}

.category .item {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    color: #fff;
    justify-content: center;
    align-items: center;
}

.category .item::after {
    position: absolute;
    display: block;
    right: -1rpx;
    top: 10%;
    content: '';
    width: 2rpx;
    height: 80%;
    background-color: #716e6e;
}

.category .item:last-child::after {
    width: 0;
}

.category .item image {
    width: 100rpx;
    height: 100rpx;
}

.category .item text {
    margin-top:10rpx;
    font-size: 26rpx;
    line-height: 24rpx;
}

.public-title {
    line-height: 30rpx;
    margin: 50rpx 0 20rpx;
    position: relative;
    padding-left:10rpx;
    &::before {
        content: '';
        display: inline-block;
        position: absolute;
        left:0;
        top:4rpx;
        width: 4rpx;
        height: 28rpx;
        background-color: @base_color;
        margin-right: 10rpx;
    }

    .title {
        font-size: 26rpx;
        font-weight: bold;
        color: #000;
    }

    .more {
        float: right;
        font-size:22rpx;
        color:#999;
    }
}

/* category end */

.about {
    width: 690rpx;
    margin: 30rpx auto;
}

.about video {
    width: 100%;
    height: 364rpx;
    border-radius: 10rpx;
}

.aijiang {
    margin: 30rpx auto 80rpx;
    width: 690rpx;
    .public-title{
        .area{
            font-size:18rpx;
            color:@base_color;
            float:right;
            font-weight: normal;
            .iconfont{
                font-size:20rpx;
            }
            text{
                margin-left:2rpx;
            }
        }
    }

    .content-box {
        width: 690rpx;
        margin: 40rpx auto;
        overflow: hidden;
        position: relative;
        swiper{
            width: 100%;
            height: 380rpx;
        }
        .item {
            height: 100%;
            margin-left: 10rpx;
            margin-right: 10rpx;
            background-size: 100%;
            background-repeat: no-repeat;
            overflow: hidden;
            position: relative;
            border-radius: 10rpx;
            image {
                width: 100%;
                height: 100%;
                display: block;
                object-fit:cover;
            }
            .item-title {
                position: absolute;
                left:0;
                bottom:0;
                width: 100%;
                height: 60rpx;
                overflow: hidden;
                line-height: 60rpx;
                background-color: rgba(0, 0, 0, .6);
                color:#fff;
                display: flex;
                align-items: baseline;
                .name{
                    font-size:20rpx;
                    margin-left:10rpx;
                    font-weight: bold;
                    position: relative;
                    line-height: 60rpx;
                    padding-right:6rpx;
                    &::after{
                        position: absolute;
                        right: 0;
                        top:20rpx;
                        content: '';
                        display: inline-block;
                        width: 2rpx;
                        height: 20rpx;
                        margin-left:4rpx;
                        background-color: #fff;
                    }
                }
                .company{
                    line-height: 60rpx;
                    font-size: 16rpx;
                    position: relative;
                    padding-left:26rpx;
                    .iconfont{
                        width: 26rpx;
                        height: 30rpx;
                        line-height: 30rpx ;
                        position: absolute;
                        top:14rpx;
                        left:0;
                    }
                }
            }
        }
    }
}

// news
.news{
    background-color: #f8f8f8;
    padding:30rpx;
    .public-title{
        margin:0;
    }
    .list{
        .item{
            width: 100%;
            background: #fff;
            margin-top:30rpx;
            box-shadow: 0 2px 8rpx rgba(0, 0, 0, .1);
            border-radius: 10rpx;
            overflow: hidden;
            .img{
                border-radius: 10rpx;
                width: 100%;
                height: 280rpx;
                display: block;
                object-fit: cover;
            }
            .title{
                margin-top:10rpx;
                padding:10rpx 60rpx 0rpx 20rpx;
                height: 40rpx;
                line-height: 40rpx;
                overflow: hidden;
                font-size:24rpx;
                font-weight: bold;
                position: relative;
                &::after{
                    content: "\e6cf";
                    font-family: 'iconfont';
                    font-size:26rpx;
                    position: absolute;
                    right:20rpx;
                    top:12rpx;
                    display: inline-block;
                    color:@base_color;
                }
            }
            .info{
                margin:10rpx 20rpx;
                color:#666;
                font-size:22rpx;
                line-height: 30rpx;
                max-height: 60rpx;
                font-weight: bold;
                overflow: hidden;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
            }
            .item-foot{
                margin:10rpx 10rpx 20rpx;
                display: flex;
                align-items: center;
                font-size:18rpx;
                color:#999;
                .span{
                    margin:0 10rpx;
                }
                .click{
                    .iconfont{
                        color:@base_color;
                    }
                    
                }
                .create_time{
                    .iconfont{
                        color:#3e7ff7;
                    }
                    
                }
                .iconfont{
                    font-size:16rpx;
                }
            }
        }
    }
}
// baojia
.baojia-box{
    display: flex;
    margin:60rpx 20rpx;
    .item{
        flex: 1;
        height: 130rpx;
        box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, .1);
        margin:0 10rpx;
        padding:0 10rpx 0 20rpx;
        display: flex;
        justify-content: space-between;
        .content{
            width: 60%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            .title{
                font-size:26rpx;
                font-weight: bold;
                color:#000;
            }
            .sub-title{
                margin-top:5px;
                font-size:18rpx;
                color:#666;
            }
        }
        .image{
            width: 40%;
            height: 130rpx;
            display: flex;
            justify-content: center;
            align-items: center;
            image{
                max-width: 100%;
                max-height: 100%;
                width: 120rpx;
                height: 120rpx;
            }
        }
    }
}


// footer
.footer{
    height: 310rpx;
    width: 100%;
    image{
        width: 100%;
        height: 100%;
        display: block;
    }
}